import { Link, Outlet } from "react-router-dom"
const Index = () =>{
    return <div>
        <div>这里是首页</div>
        
        <Link to="/home">面板</Link>
        <Link to="/home/setting">设置</Link>
        {/* 二级路由出口 */}
        <Outlet/>
    </div>
}
export default Index